<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<%@taglib prefix="s" uri="/struts-tags" %>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/rule.css" rel="stylesheet" type="text/css" />
<link href="css/font.css" rel="stylesheet" type="text/css"/>
<link href="css/label.css" rel="stylesheet" type="text/css"/>
<style type="text/css">
<!--
.STYLE1 {font-size: 20px}
.STYLE3 {
	font-size: 16px;
	font-weight: bold;
}
.STYLE4 {
	font-size: 14px;
	color: #000000;
}
.STYLE6 {
	font-size: 16px;
	color: #FF0000;
}
.red {
	color: #F00;
	font-size: 14px;
}
-->
</style>
</head>

<body topmargin="0" leftmargin="0">
<table width="80%" height="379" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> <td>&nbsp;</td> </tr>
  <tr>
    <td class="rule3"><div align="center" class="STYLE3"><strong>3C产品供应链模拟规则说明</strong></div></td>
	<tr> <td>&nbsp;</td> </tr>
  </tr>
  <tr>
    <td><p class="STYLE4">1.零售商初始参数如下表所示：</p></td>
  </tr>
  <tr>
	<tr>
	  <td><table width="94%" height="45" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#00CCFF" class="ruletab">
	    <tr>
	      <td width="11%" bgcolor="#FFFFFF" class="ruletab"><div align="center"><span class="STYLE4">初始数据</span></div></td>
	      <td width="12%" bgcolor="#FFFFFF" class="ruletab"><span class="STYLE4">初始资金</span></td>
	      <td width="12%" bgcolor="#FFFFFF" class="ruletab"><span class="STYLE4">初始仓库</span></td>
	      <td width="15%" bgcolor="#FFFFFF" class="ruletab"><div align="center"><span class="STYLE4">初始MacBook</span></div></td>
	      <td width="13%" bgcolor="#FFFFFF" class="ruletab"><div align="center"><span class="STYLE4">初始Iphone</span></div></td>
	      <td width="13%" bgcolor="#FFFFFF" class="ruletab"><div align="center"><span class="STYLE4">初始Ipad</span></div></td>
	      <td width="11%" bgcolor="#FFFFFF" class="ruletab"><div align="center"><span class="STYLE4">提前期</span></div></td>
	      <td width="13%" bgcolor="#FFFFFF" class="ruletab"><div align="center"><span class="STYLE4">贷款周利息</span></div></td>
        </tr>
	    <tr class="STYLE4">
	      <td bgcolor="#FFFFFF" class="ruletab"><div align="center">零售商</div></td>
	      <td bgcolor="#FFFFFF" class="ruletab"><span class="red"><s:property value="#request.role.initialmoney"/>
          元</span></td>
	      <td bgcolor="#FFFFFF" class="ruletab"><span class="red">1个</span>小仓库</td>
	      <td bgcolor="#FFFFFF" class="ruletab"><div align="center" class="red"><s:property value="#request.role.initialp1"/>个</div></td>
	      <td bgcolor="#FFFFFF" class="ruletab"><div align="center" class="red"><s:property value="#request.role.initialp2"/>个</div></td>
	      <td bgcolor="#FFFFFF" class="ruletab"><div align="center" class="red"><s:property value="#request.role.initialp3"/>个</div></td>
	      <td bgcolor="#FFFFFF" class="ruletab"><div align="center"><span class="red"><s:property value="#request.products.get(0).advance"/>周</span></div></td>
	      <td bgcolor="#FFFFFF" class="ruletab"><div align="center" class="red">0.1%</div></td>
<%--	      <td bgcolor="#FFFFFF" class="ruletab"><div align="center" class="red"><s:property value="#request.role.interestrate*100"/>%</div></td>--%>
        </tr>
      </table></td>
  </tr>
    <tr><td>&nbsp;</td></tr>
  <tr>
      <td><span class="STYLE4"> 2.零售商每周需按照页面中间的流程图以逆时针顺序操作每一步中，其中按钮只有在亮时单击才能打开窗口。以下是详细每步操作：</span></td>
  </tr>
  <tr> <td>&nbsp;</td> </tr>
  </tr>
  </tr>
  <tr>
    <td><span class="rule1 STYLE3">（1）本周开始</span></td>
  </tr>
  <tr>
    <td class="STYLE4"> &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;点击“Start”按钮，本周经营开始（每周开始需要扣除贷款利息，仓库租金和所得税。如果当前金额小于要扣除的金额，本周将不能开始，否则本周开始成功，“Start”按钮变灰，申请贷款，仓库租买，商品入库三个按钮变亮。）</td>
  </tr>
  <tr> <td>&nbsp;</td> </tr>
   <tr>
    <td><span class="rule1 STYLE3">（2）申请贷款</span></td>
  </tr>
  <tr>
    <td>  &nbsp;&nbsp; &nbsp;&nbsp; <span class="STYLE4">&nbsp;&nbsp;点击申请贷款按钮，出现申请贷款的页面，申请贷款的最大额为用户当前权益的三倍，且每期只能贷款一次，故需提前计算好资金流。</span></td>
  </tr>
   <tr> <td>&nbsp;</td> </tr>
   <tr>
    <td><span class="rule1 STYLE3">（3）仓库租买</span></td>
  </tr>
  <tr>
    <td>  <span class="STYLE4">&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;点击仓库租买按钮，出现仓库租买的页面。仓库有三种类型</span></td>
  </tr>
   <td><table width="90%" border="0" cellpadding="1" cellspacing="1" class="ruletab" bgcolor="#00CCFF" align="center">
      <tr>
        <td width="13%" bgcolor="#FFFFFF" class="ruletab"><div align="center"><span class="red"><span class="STYLE4">仓库类型</span></span></div></td>
		<td width="17%" bgcolor="#FFFFFF" class="ruletab"><div align="center"><span class="red"><span class="STYLE4">MacBook容量</span></span></div></td>
        <td width="19%" bgcolor="#FFFFFF" class="ruletab"><div align="center"><span class="red"><span class="STYLE4">Iphone容量</span></span></div></td>
        <td width="19%" bgcolor="#FFFFFF" class="ruletab"><div align="center"><span class="red"><span class="STYLE4">Ipad容量</span></span></div></td>
		<td width="16%" bgcolor="#FFFFFF" class="ruletab"><div align="center"><span class="red"><span class="STYLE4">租价</span></span></div></td>
		<td width="16%" bgcolor="#FFFFFF" class="ruletab"><div align="center"><span class="red"><span class="STYLE4">买价</span></span></div></td>
        </tr>
      <tr>
        <td bgcolor="#FFFFFF" class="ruletab"><div align="center"><span class="red"><span class="STYLE4">小仓库</span></span></div></td>
        <td bgcolor="#FFFFFF" class="red"><div align="center"><span class="red"><s:property value="#request.storageinfos.get(0).p1count"/>个</span></div></td>
		<td bgcolor="#FFFFFF" class="red"><div align="center"><span class="red"><span class="STYLE4"><span class="red"><s:property value="#request.storageinfos.get(0).p2count"/>个</span></span></span></div></td>
		<td bgcolor="#FFFFFF" class="red"><div align="center"><span class="red"><span class="STYLE4"><span class="red"><s:property value="#request.storageinfos.get(0).p3count"/>个</span></span></span></div></td>
		<td bgcolor="#FFFFFF" class="red"><div align="center"><span class="red"><span class="STYLE4"><span class="red"><s:property value="#request.storageinfos.get(0).rentprice"/>元</span></span></span></div></td>
		<td bgcolor="#FFFFFF" class="red"><div align="center"><s:property value="#request.storageinfos.get(0).buyprice"/>
		元</div></td>
        </tr>
		 <tr>
        <td bgcolor="#FFFFFF" class="ruletab"><div align="center"><span class="red"><span class="STYLE4">中仓库</span></span></div></td>
         <td bgcolor="#FFFFFF" class="red"><div align="center"><span class="red"><s:property value="#request.storageinfos.get(1).p1count"/>个</span></div></td>
		<td bgcolor="#FFFFFF" class="red"><div align="center"><span class="red"><span class="STYLE4"><span class="red"><s:property value="#request.storageinfos.get(1).p2count"/>个</span></span></span></div></td>
		<td bgcolor="#FFFFFF" class="red"><div align="center"><span class="red"><span class="STYLE4"><span class="red"><s:property value="#request.storageinfos.get(1).p3count"/>个</span></span></span></div></td>
		<td bgcolor="#FFFFFF" class="red"><div align="center"><span class="red"><span class="STYLE4"><span class="red"><s:property value="#request.storageinfos.get(1).rentprice"/>元</span></span></span></div></td>
		<td bgcolor="#FFFFFF" class="red"><div align="center"><s:property value="#request.storageinfos.get(1).buyprice"/>元</div></td>
        </tr>
		 <tr>
        <td bgcolor="#FFFFFF" class="ruletab"><div align="center"><span class="red"><span class="STYLE4">大仓库</span></span></div></td>
       <td bgcolor="#FFFFFF" class="red"><div align="center"><span class="red"><s:property value="#request.storageinfos.get(2).p1count"/>个</span></div></td>
		<td bgcolor="#FFFFFF" class="red"><div align="center"><span class="red"><span class="STYLE4"><span class="red"><s:property value="#request.storageinfos.get(2).p2count"/>个</span></span></span></div></td>
		<td bgcolor="#FFFFFF" class="red"><div align="center"><span class="red"><span class="STYLE4"><span class="red"><s:property value="#request.storageinfos.get(2).p3count"/>个</span></span></span></div></td>
		<td bgcolor="#FFFFFF" class="red"><div align="center"><span class="red"><span class="STYLE4"><span class="red"><s:property value="#request.storageinfos.get(2).rentprice"/>元</span></span></span></div></td>
		<td bgcolor="#FFFFFF" class="red"><div align="center"><s:property value="#request.storageinfos.get(2).buyprice"/>元</div></td>
        </tr>
    </table></td>
</tr>
   <tr>
    <tr> <td>&nbsp;</td> </tr>
      <td><span class="rule1 STYLE3">（4）商品入库</span></td>
  </tr>
  <tr>
    <td>  &nbsp;&nbsp; &nbsp;&nbsp; <span class="STYLE4">&nbsp;&nbsp;点击商品入库按钮，可以看到本周的入库商品。该商品是代理商根据零售商发送的订单信息给零售商发的商品量。商品到货周期为</span><span class="red"><s:property value="#request.products.get(0).advance"/></span><span class="STYLE4">周（从零售商发送订单开始，</span><span class="red"><span class="red"><s:property value="#request.products.get(0).advance"/></span><span class="STYLE4">周后到达零售商，到达商品数量小于等于零售商发送的订单量）。</span></td>
  </tr>
   <tr>
    <tr> <td>&nbsp;</td> </tr>
      <td><span class="rule1 STYLE3">（5）获取订单</span></td>
  </tr>
  <tr>
    <td> &nbsp;&nbsp; &nbsp;<span class="STYLE4">&nbsp; &nbsp;&nbsp; 只有在完成商品入库后，获取订单按钮才会变亮。零售商获取的订单由系统随机生成，产品数量符合市场需求规律。</span></td>
  </tr>
   <tr> <td>&nbsp;</td> </tr>
   <tr>
    <td><span class="rule1 STYLE3">（6）商品出售</span></td>
  </tr>
  <tr>
    <td>  &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<span class="STYLE4">&nbsp;只有完成获取订单，商品出售按钮才会变亮。零售商根据获得的市场需求数量进行出售（出售的产品数量必须小于等于相应的市场需求量，出售价格如下表所示</span><span class="STYLE4">）。</span></td>
  </tr>
   <tr>
     <td><table width="90%" border="0" cellpadding="1" cellspacing="1" class="ruletab" bgcolor="#00CCFF" align="center">
       <tr>
         <td width="17%" bgcolor="#FFFFFF" class="ruletab"><div align="center" class="STYLE4">产品</div></td>
         <td width="13%" bgcolor="#FFFFFF" class="ruletab"><div align="center"><span class="red"><span class="STYLE4">MacBook</span></span></div></td>
         <td width="19%" bgcolor="#FFFFFF" class="ruletab"><div align="center"><span class="red"><span class="STYLE4">Iphone</span></span></div></td>
         <td width="19%" bgcolor="#FFFFFF" class="ruletab"><div align="center"><span class="red"><span class="STYLE4">Ipad</span></span></div></td>
       </tr>
       <tr>
         <td bgcolor="#FFFFFF" class="ruletab"><div align="center" class="STYLE4">市场统一卖价</div></td>
         <td bgcolor="#FFFFFF" class="red"><div align="center" class="red"><span class="red"><s:property value="#request.products.get(0).outprice"/>元</div></td>
         <td bgcolor="#FFFFFF" class="red"><div align="center"><s:property value="#request.products.get(1).outprice"/><span class="STYLE4"><span class="red">元</span></span></div></td>
         <td bgcolor="#FFFFFF" class="red"><div align="center"><s:property value="#request.products.get(2).outprice"/><span class="STYLE4"><span class="red">元</span></span></div></td>
       </tr>
     </table></td>
   </tr>
   <tr> <td>&nbsp;</td> </tr>
   <tr>
    <td><span class="rule1 STYLE3">（7）发出订单</span></td>
  </tr>
  <tr>
    <td>  &nbsp;&nbsp; &nbsp;&nbsp;<span class="STYLE4"> &nbsp;&nbsp;只有完成商品出售，发出订单按钮才会变亮。零售商可以根据自己的库存和市场需求情况下订单。数量和价格（报价需在规定在范围之内）由零售商填写，下一周上游代理商会根据各下游零售商的订单进行发货，数量可以小于该订单数量，但是不能大于零售商订单中的相应数量，最终价格为订单中的价格。商品到达周期，零售商付款，代理商收款。</span></td>
  </tr>
   <tr> <td>&nbsp;</td> </tr>
     <tr>
    <td><span class="rule1 STYLE3">（8）本周结束</span></td>
  </tr>
  <tr>
       <td>&nbsp; &nbsp;<span class="STYLE4">&nbsp; &nbsp;&nbsp;所有经营步骤结束后，本周结束按钮变亮。本周结束扣除产品的库存费用，如果资金不足，本周结束失败。只有在本周结束后，右侧信息查看中的利润信息和资产负债表信息方可查看。</span></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp; </td>
  </tr>
</table>
</body>
</html>
